<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="基础信息" name="first"> <base-info /> </el-tab-pane>
    <el-tab-pane label="设备信息" name="second">设备信息</el-tab-pane>
    <el-tab-pane label="危险源分析" name="third">危险源分析</el-tab-pane>
    <el-tab-pane label="地图区域" name="fourth">地图区域</el-tab-pane>
    <el-tab-pane label="图形看板" name="five">图形看板</el-tab-pane>
  </el-tabs>
</template>
<script>
import BaseInfo from './baseInfo'
// import EquipOnekey from './equipOnekey'
// import EquipStatic from './equipStatic'
// import FenceStrike from './fenceStrike'
// import EquipElectric from './equipElectric'

export default {
  components: {
    'base-info': BaseInfo
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    }
  }
}
</script>
